package cn.tedu.hm.ex;

import cn.tedu.hm.wep.ServiceCode;
import lombok.Getter;

/**
 * 说明:
 *
 * @ author: WeiZhen
 * @date: 2023/2/22
 **/
public class ServiceException extends RuntimeException {

    @Getter
    private ServiceCode code;

    public ServiceException(ServiceCode code, String message) {
        super(message);
        this.code=code;
    }

}
